package com.sebscape.sebcms.slideshow.domain;

import java.util.ArrayList;
import java.util.List;

public class GenericSlideShow {

	private List<GenericSlideBean> landscapeSlides;
	private List<GenericSlideBean> portraitSlides;
	private String templateJsp;
	
	
	/**
	 * full constructor
	 */
	public GenericSlideShow(List<GenericSlideBean> landscapeSlides,
			List<GenericSlideBean> portraitSlides, String templateJsp) {
		super();
		this.landscapeSlides = landscapeSlides;
		this.portraitSlides = portraitSlides;
		this.templateJsp = templateJsp;
	}


	/**
	 * default constructor
	 */
	public GenericSlideShow() {
		super();
		this.landscapeSlides = new ArrayList<GenericSlideBean>();
		this.portraitSlides = new ArrayList<GenericSlideBean>();
	}
	
	public List<GenericSlideBean> getAllSlides(){
		List<GenericSlideBean> fullList = new ArrayList<GenericSlideBean>();
		fullList.addAll( landscapeSlides );
		fullList.addAll( portraitSlides );
		return fullList;
	}

	/////////////////////////////////
	// Getters and Setters
	/////////////////////////////////

	/**
	 * @return the landscapeSlides
	 */
	public List<GenericSlideBean> getLandscapeSlides() {
		return landscapeSlides;
	}


	/**
	 * @param landscapeSlides the landscapeSlides to set
	 */
	public void setLandscapeSlides(List<GenericSlideBean> landscapeSlides) {
		this.landscapeSlides = landscapeSlides;
	}


	/**
	 * @return the portraitSlides
	 */
	public List<GenericSlideBean> getPortraitSlides() {
		return portraitSlides;
	}


	/**
	 * @param portraitSlides the portraitSlides to set
	 */
	public void setPortraitSlides(List<GenericSlideBean> portraitSlides) {
		this.portraitSlides = portraitSlides;
	}


	/**
	 * @return the templateJsp
	 */
	public String getTemplateJsp() {
		return templateJsp;
	}


	/**
	 * @param templateJsp the templateJsp to set
	 */
	public void setTemplateJsp(String templateJsp) {
		this.templateJsp = templateJsp;
	}
		
}
